/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.employee.entity;

import com.thinkgem.jeesite.modules.sys.entity.Office;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 学历工资Entity
 * @author jyangye
 * @version 2018-01-10
 */
public class ViEmpSSetEdu extends DataEntity<ViEmpSSetEdu> {
	
	private static final long serialVersionUID = 1L;
	private String compId;		// 组织机构
	private String educate;		// 学历
	private Double baseSalery;		// 基本工资

    private Office comp;
	
	public ViEmpSSetEdu() {
		super();
	}

	public ViEmpSSetEdu(String id){
		super(id);
	}


    @ExcelField(title="组织机构", align=2, sort=20)
    public Office getComp() {
        return comp;
    }

    public void setComp(Office comp) {
        this.comp = comp;
    }

	public String getCompId() {
		return compId;
	}

	public void setCompId(String compId) {
		this.compId = compId;
	}
	
	@Length(min=1, max=32, message="学历长度必须介于 1 和 32 之间")
	@ExcelField(title="学历", align=2, sort=30, dictType = "emp_educate")
	public String getEducate() {
		return educate;
	}

	public void setEducate(String educate) {
		this.educate = educate;
	}
	
	@ExcelField(title="基本工资", align=2, sort=40)
	public Double getBaseSalery() {
		return baseSalery;
	}

	public void setBaseSalery(Double baseSalery) {
		this.baseSalery = baseSalery;
	}
	
}